package com.design.prototype;

import java.io.Serializable;

/**
 * @author leali
 * @title: Attachment
 * @projectName design
 * @description: Attachment 附件类 原型的-浅拷贝和深拷贝
 * @date 2022/1/2 21:00
 */
public class Attachment implements Serializable {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void download() {
        System.out.println("附件下载-Attachment，名称为：" + name);
    }
}
